﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using System.Data.Linq;
using System.ComponentModel;

namespace MRSite.Entity
{

    /// <summary>
    /// 大转盘奖品列表
    /// </summary>
    [Table(Name = "dzpAwardItem")]
    public class dzpAwardItem : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        /// 大转盘活动表主键Id
        /// </summary>
        [Column(Name = "actId")]
        public int actId { get; set; }


        /// <summary>
        /// 奖项名称
        /// </summary>
        [Column(Name = "jxName")]
        public string jxName { get; set; }


        /// <summary>
        /// 奖品名称
        /// </summary>
        [Column(Name = "jpName")]
        public string jpName { get; set; }

        ///// <summary>
        ///// 奖金百分比
        ///// </summary>
        //[Column(Name = "jjMoney"), DefaultValue(0)]
        //public decimal jjMoney { get; set; }

        /// <summary>
        /// 奖品显示数量
        /// </summary>
        [Column(Name = "jpNum"), DefaultValue(0)]
        public int jpNum { get; set; }

        /// <summary>
        /// 奖品真实数量
        /// </summary>
        [Column(Name = "jpRealNum"), DefaultValue(0)]
        public int jpRealNum { get; set; }


        /// <summary>
        /// 排序号
        /// </summary>
        [Column(Name = "sort_id"), DefaultValue(0)]
        public int sort_id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column(Name = "createDate")]
        public DateTime? createDate { get; set; }

        /// <summary>
        /// 角度的最小值
        /// </summary>
        [Column(Name = "jiaodu_min")]
        public decimal jiaodu_min { get; set; }

        /// <summary>
        /// 角度的最大值
        /// </summary>
        [Column(Name = "jiaodu_max")]
        public decimal jiaodu_max { get; set; }



    }

}

